<?php
$list = explode(",",$_GET['list']);
$xml= '
<?xml version="1.0" encoding="utf-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
	<trackList>
';
for($i=0;$i<=count($list)-1;$i++){	
			if($list[$i] !=''){


			$xml .= '<track>'.
			'<title></title>'.
			'<creator></creator>'.
			'<location>image/'.$list[$i].'</location>'.
			'<info></info>'.

			'</track>'."\n";
			}
		}
$xml .= '</trackList>'.
		'</playlist>';
die($xml);
exit();
?>